Platform Explorer / Nuxeo Platform 2021.52

Component org.nuxeo.ecm.platform.util.LocationManagerService

Documentation

This service manage the different repository locations that can be accessed via the platform. This service is available via a EJB3 facade that is used to retrive the lis of available cores.

Resolution Order

257
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

907
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.ecm.platform.util.LocationManagerService

Extension Points

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.util.LocationManagerService">

  <documentation>
    This service manage the different repository locations that can be accessed via the platform.
    This service is available via a EJB3 facade that is used to retrive the lis of available cores.
  </documentation>

  <implementation class="org.nuxeo.ecm.platform.util.LocationManagerService" version="1.0.0"/>

  <extension-point name="location">
    <documentation>
      This extension point can be used to register new repository locations (new core instances).
      The location registry is typically used to build the list of available servers on the first screen of the web app.
      The XML extension can contain a arbitrary number of location declaration if the form:
      <locationManagerPlugin>
        <locationEnabled>true</locationEnabled>
        <locationName>pgsql</locationName>
      </locationManagerPlugin>

      This extension point can be used to disable a previously declared location:
      <locationManagerPlugin>
        <locationEnabled>false</locationEnabled>
        <locationName>demo</locationName>
      </locationManagerPlugin>

      The locationURI tag must point on an existing core instance that was declared using :
      <extension target="org.nuxeo.ecm.core.repository.RepositoryService" point="repository">...</extension>
    </documentation>

    <object class="org.nuxeo.ecm.platform.util.LocationManagerPluginExtension"/>
  </extension-point>

</component>